package com.cy.mall.dao.mapper.wj;

import com.cy.mall.model.domain.wj.WjOrder;
import com.cy.mall.model.vo.wj.WjOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * @Description WjOrderMapper
 * @Author tanyilin
 * @Date 2019/5/10 16:07
 */
@Mapper
public interface WjOrderMapper extends BaseMapper<WjOrder> {

    /**
     * 查询客户最新的万家分期询单详情
     * @param customerId
     * @return com.cy.mall.model.vo.wj.WjOrderDetail
     */
    WjOrderDetail selectLastWjOrderDetailByCustomerId(@Param("customerId") Long customerId);
}
